<?php
class System extends CI_Model {
    public function __construct(){
        parent::__construct();
    }

    public function get_configuration($method){
        $query=$this->db->get_where('ca_system',"Method='$method'");
        $row=$query->row_array();
        $configuration=json_data($row['Configuration'],'decode');
        return $configuration;
    }
}